package com.ccp.dev.workflow.xml;

import com.ccp.dev.form.xml.constant.XmlConstant;
import com.ccp.dev.workflow.model.ConditionScript;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * ClassDescribe
 * Author: fanruiqi
 * Date: 2019-08-27
 * Since:1
 * To change this template use File | Settings | File Templates.
 */
@XmlRootElement(name = "conditionScripts")
@XmlAccessorType(XmlAccessType.FIELD)
public class ConditionScriptXml
{
    /**
     * 条件脚本
     */
    @XmlElement(name = XmlConstant.SYS_CONDITION_SCRIPT, type = ConditionScript.class)
    private ConditionScript conditionScript;

    public ConditionScript getConditionScript() {
        return conditionScript;
    }

    public void setConditionScript(ConditionScript conditionScript) {
        this.conditionScript = conditionScript;
    }

}
